<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>string、number类型</title>
		<script type="text/javascript">
			var myString="Hello \"World\"! <br>";
			document.write(myString); //Hello "World"!
			var myNumber = 128; //128十进制
			document.write(myNumber + ' 十进制<br>'); //128十进制
			document.write(myNumber.toString(16) + ' 十六进制<br>'); //80十六进制
			document.write(myNumber.toString(8) + ' 八进制<br>'); //200八进制
			document.write(myNumber.toString(2) + ' 二进制<br>'); //10000000二进制
			var x = 100 / "Abc";
			var y = 100 / "10";
			document.write(isNaN(x) + "<br>" + isNaN(y));
		</script>
	</head>
	<body>
	</body>
</html>
